package com.ovopark.organize.server.common.constant;

/***
 * 
 * @description : 命令树节点定义
 * *  	根节点：cmd_type_root，其它节点定义如下：
		网元类型节点:ob_+$objectTypeId  
		厂商节点:fa_+$objectTypeId +_+$factoryId 
		分类节点：ct_+$typeid
		命令节点：cd_+$cmdId
 * @author		 ：leichen
 * @date		: 2010-11-9
 */
public class TreeConstant {

	public static final String DEPARTMENTROOT = "D_1";
	public static final String PLATFORMROOT = "0";
	public static final String DEPARTMENTROOTNAME = "全国";
	public static final String PLATFORMROOTNAME = "平台设备列表";
	
	public static final String ENTERPRISE_PREFIX= "G_";//企业前缀
	public static final String ORGANIZE_PREFIX= "O_";//组织架构前缀
	public static final String DEPART_PREFIX= "D_";//部门前缀
	public static final String AREA_PREFIX="A_";//区域
	public static final String SHOP_PREFIX="S_";//门店

	public static final String TAG_PREFIX="T_"; //标签前缀
	
	public static final String DEVICE_PREFIX= "E_";//设备前缀
	public static final String FLOW_DEVICE_PREFIX= "F_";//设备前缀
	public static final String PERSON_PREFIX= "P_";//人员前缀
	
	public static final String BUSSINESS_PREFIX= "B_";//菜单前缀
	public static final String PRIVILEGE_PREFIX= "P_";//权限前缀
	
	public static final String GROUP_PREFIX= "PG_";//分组前缀
	
	public static final int SHOW_TYPE_ORGANIZE= 0;//显示类型：组织架构
//	public static final int SHOW_TYPE_PRESON= 1;//显示类型：人
//	public static final int SHOW_TYPE_SHOP= 2;//显示类型：门店
	public static final int SHOW_TYPE_ORGANIZE_AS_PRIVILEGE= 3;//显示类型：有权限的组织架构
	public static final int SHOW_TYPE_ORGANIZE_LEAF = 4;//只显示到组织架构一层
	public static final int SHOW_TYPE_ORGANIZE_LEAF_SHOP = 5;//门店组织架构节点转换成门店
	public static final int SHOW_TYPE_ORGANIZE_SHOW_USER = 12;//显示通讯录下的人员

}
